<div class="zs-body" data-ng-init="formInit('gzprojectmonthly', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{id:0}
    }) && loadData('gzprojectmonthly');setConHei();">
    <div class="zs-map-tool">
        <div class="location">
            <a href="javascript:;">首页</a>
            <i class="right-arr"></i>
            <a href="javascript:;">项目管理</a>
            <i class="right-arr"></i>
            <a href="javascript:;">计划与进度</a>
        </div>
        <div class="option">
            <input type="button" class="zs-btn orange" value="新建" 
                ng-click="addRow('gzprojectmonthly') && openWindow('edit');"/>
            <input type="button" class="zs-btn orange" value="编辑" 
                ng-click="editRow('gzprojectmonthly', gzprojectmonthly.sRows[0]) && openWindow('edit')"/>
            <input type="button" class="zs-btn orange" value="删除 "
                ng-click="delEntitys('gzprojectmonthly')"/>
        </div>
    </div>
    <div class="zs-content" style="position:unset">
        <div class="zs-nice-tab idTabs">
			<div class="tool item" style="margin-left:6px;">
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="ID" ng-model="gzprojectmonthly.queryObject['id']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="I_VERSION" ng-model="gzprojectmonthly.queryObject['iversion']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="项目编号" ng-model="gzprojectmonthly.queryObject['sxmbh']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="进度月报编号" ng-model="gzprojectmonthly.queryObject['ijdybbh']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="月度（年度）" ng-model="gzprojectmonthly.queryObject['syd']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="项目负责人" ng-model="gzprojectmonthly.queryObject['sxmjl']"/>
                </span>
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="项目副负责人" ng-model="gzprojectmonthly.queryObject['sxmfjl']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="技术负责人" ng-model="gzprojectmonthly.queryObject['sjsfzr']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="项目人员数" ng-model="gzprojectmonthly.queryObject['ixmrys']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="作业方法" ng-model="gzprojectmonthly.queryObject['szyff']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_ddjsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzprojectmonthly.queryObject['ddjsj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="进行测绘登记地点" ng-model="gzprojectmonthly.queryObject['sdjdd']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_dkssj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzprojectmonthly.queryObject['dkssj']" >
				   	</ag-Datebox>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_djssj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzprojectmonthly.queryObject['djssj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="问题与措施" ng-model="gzprojectmonthly.queryObject['swd']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="其他" ng-model="gzprojectmonthly.queryObject['sqt']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="提交人" ng-model="gzprojectmonthly.queryObject['stjr']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_dtjsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzprojectmonthly.queryObject['dtjsj']" >
				   	</ag-Datebox>
                </span>-->
            </div>
            <div class="operation item" style="margin-top:7px;">
            	<input type="button" class="zs-btn orange" value="查询" 
            		ng-click="loadData('gzprojectmonthly')"/>
                <!--<a class="ope-1" ng-click="loadData('gzprojectmonthly')"></a>
                <a class="ope-2"></a>-->
            </div>
            <div class="switch">
                
            </div>
        </div>
        <div class="date-container">
            <div id="zpgwd">
                <div class="zs-data-table">
                    <div class="container">
                        <table data-ng-init="getPrijectJd(gzprojectmonthly.datas)">
                            <thead>
                                <tr>
                                    <th>
                                        <input id="allCheckbox" type="checkbox"
                                            ng-click="selectAll('gzprojectmonthly','allCheckbox');" />
                                    </th>
									<!--<th>ID</th>
									<th>I_VERSION</th>
									<th>项目编号</th>
									<th>进度月报编号</th>-->
									<th>月度（年度）</th>
									<th>项目名称</th>
									<th>项目负责人</th>
									<th>项目副负责人</th>
									<th>技术负责人</th>
									<th>项目人员数</th>
									<th>作业方法</th>
									<th>进行测绘登记时间</th>
									<th>进行测绘登记地点</th>
									<th>开始时间</th>
									<th>结束时间</th>
									<th>问题与措施</th>
									<th>其他</th>
									<th>提交人</th>
									<th>提交时间</th>
									<th>项目进度</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="r in gzprojectmonthly.datas">
                                    <td>
                                        <input type="checkbox"
                                            ng-click="selectRow('gzprojectmonthly',r);"
                                            ng-model="r.selected" />
                                    </td>
									<!--  ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.id"></label>
                                        </a>
                                   </td>-->
									<!--  I_VERSION -->
            						<!--<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.iversion"></label>
                                        </a>
                                   </td>-->
									<!--  项目编号 -->
            						<!--<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.sxmbh"></label>
                                        </a>
                                   </td>-->
									<!--  进度月报编号 -->
            						<!--<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.ijdybbh"></label>
                                        </a>
                                   </td>-->
									<!--  月度（年度） -->
            						<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.syd"></label>
                                        </a>
                                   </td>
                                   <td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.sxmmc"></label>
                                        </a>
                                   </td>
									<!--  项目负责人 -->
            						<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.sxmjl"></label>
                                        </a>
                                   </td>
									<!--  项目副负责人 -->
            						<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.sxmfjl"></label>
                                        </a>
                                   </td>
									<!--  技术负责人 -->
            						<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.sjsfzr"></label>
                                        </a>
                                   </td>
									<!--  项目人员数 -->
            						<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.ixmrys"></label>
                                        </a>
                                   </td>
									<!--  作业方法 -->
            						<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.szyff"></label>
                                        </a>
                                   </td>
									<!--  进行测绘登记时间 -->
								   <td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.ddjsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  进行测绘登记地点 -->
            						<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.sdjdd"></label>
                                        </a>
                                   </td>
									<!--  开始时间 -->
								   <td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.dkssj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  结束时间 -->
								   <td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.djssj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  问题与措施 -->
            						<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.swd"></label>
                                        </a>
                                   </td>
									<!--  其他 -->
            						<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.sqt"></label>
                                        </a>
                                   </td>
									<!--  提交人 -->
            						<td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.stjr"></label>
                                        </a>
                                   </td>
									<!--  提交时间 -->
								   <td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <label ng-bind="r.dtjsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
                                   <!--  项目进度 -->
								   <td>
                                        <a ng-click="editRow('gzprojectmonthly',r) && openWindow('edit');">
                                            <div class="progress">
		                                		{{gzprojectmonthly.xmjdt}}
		                                	</div>
                                            <!--<label ng-bind="r.xmjd"></label>-->
                                        </a>
                                   </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="zs-pagination-box">
                    <ag-Page fn='gzprojectmonthly'></ag-Page>
                </div>
            </div>
        </div>
        <div ag-Window id="edit" title="项目月报编辑" width='560px' height='420px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
          					<!--<tr>
                                <td class="text" width="20%">ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.id" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">I_VERSION</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.iversion" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">项目编号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.sxmbh" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">进度月报编号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.ijdybbh" class="zs-input" />
                                </td>
                            </tr>-->
                            <tr>
                                <td class="text" width="20%">项目名称</td>
                                <td class="left" width="30%" colspan="3">
                                	<input readonly="true" type="text" ng-model="gzprojectmonthly.editRow.sxmmc" class="zs-input" />
                                </td>
                            </tr>
                            <tr>
                                <td class="left" width="50%" colspan="4" style="padding-left:100px">
                                	<input type="button" name="ok" value="选择项目" class="zs-btn c-green" 
                                        ng-click="openWindow('chooseProject');" />
                                    <input type="button" name="ok" value="查看项目" class="zs-btn c-green" 
                                        ng-click="cheekProject(gzprojectmonthly.editRow.xmid);" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">月度（年度）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.syd" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">项目负责人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.sxmjl" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">项目副负责人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.sxmfjl" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">技术负责人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.sjsfzr" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">项目人员数</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.ixmrys" class="zs-input" />
                                </td>
                            
                                <td class="text" width="20%">作业方法</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.szyff" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">进行测绘登记时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_ddjsj'  showcurday='gzprojectmonthly.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzprojectmonthly.editRow.ddjsj" >
							   		</ag-Datebox>
                                </td>
                            
                                <td class="text" width="20%">进行测绘登记地点</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.sdjdd" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">开始时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_dkssj'  showcurday='gzprojectmonthly.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzprojectmonthly.editRow.dkssj" >
							   		</ag-Datebox>
                                </td>
                            
                                <td class="text" width="20%">结束时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_djssj'  showcurday='gzprojectmonthly.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzprojectmonthly.editRow.djssj" >
							   		</ag-Datebox>
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">问题与措施</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.swd" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">其他</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.sqt" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">提交人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.stjr" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">提交时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_dtjsj' showcurday='gzprojectmonthly.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzprojectmonthly.editRow.dtjsj" >
							   		</ag-Datebox>
                                </td>
                            </tr>
                            <tr>
                                <td class="text" width="20%">项目进度(%)</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzprojectmonthly.editRow.xmjd" class="zs-input" />
                                </td>
                           
                                <td colspan="2"></td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                    <input type="button" name="ok" value="保存" class="zs-btn c-red"
                                        ng-click="formValidate(form) && save('gzprojectmonthly', gzprojectmonthly.editRow, closeWindow('edit'))"/>
                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
                                        ng-click="closeWindow('edit')" />
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
		<div ag-Window id="chooseProject" title="选择项目" width='560px' height='360px'>
		    <div class="zs-form-tab ibox"
		    	data-ng-init="formInit('gzprojectinfo', {
			        keyField:'id',
			        randomFields:['id'],
			        orderObject:{id:0}
			    }) && loadData('gzprojectinfo');setConHei();">
		        <div class="zs-nice-tab idTabs">
					<div class="tool item" style="margin-left:6px;">
		            	<span class="search-warpper">
		                    <i class="icon"></i>
		                    <input type="text" class="zs-input" placeholder="项目名称" ng-model="gzprojectinfo.queryObject['sxmmc']"/>
		                </span>
		            	<span class="search-warpper">
		                    <i class="icon"></i>
		                    <input type="text" class="zs-input" placeholder="项目类型" ng-model="gzprojectinfo.queryObject['sxmlx']"/>
		                </span>
		            </div>
		            <div class="operation item">
		                <a class="ope-1" ng-click="loadData('gzprojectinfo')"></a>
		                <a class="ope-2"></a>
		            </div>
		            <div class="switch">
		                
		            </div>
		        </div>
		        <div class="date-container">
		            <div id="zpgwd">
		                <div class="zs-data-table">
		                    <div class="container">
		                        <table>
		                            <thead>
		                                <tr>
		                                	<th>
		                                        <!--<input id="allCheckbox11" type="checkbox"
		                                            ng-click="selectAll('gzprojectinfo','allCheckbox11');" />-->
		                                    </th>
											<th>项目名称</th>
											<th>项目编号</th>
											<th>项目类型</th>
		                                </tr>
		                            </thead>
		                            <tbody>
		                                <tr ng-repeat="r in gzprojectinfo.datas">
		                                	<td>
		                                        <input type="checkbox"
		                                            ng-click="selectRow('gzprojectinfo',r);"
		                                            ng-model="r.selected" />
		                                    </td>
											<!--  项目名称 -->
		            						<td>
		                                        <a ng-click="chooseProject(gzprojectmonthly.editRow,r,'chooseProject');">
		                                            <label ng-bind="r.sxmmc"></label>
		                                        </a>
		                                   </td>
		                                   <!--  项目编号 -->
		            						<td>
		                                        <a ng-click="chooseProject(gzprojectmonthly.editRow,r,'chooseProject');">
		                                            <label ng-bind="r.sxmbh"></label>
		                                        </a>
		                                   </td>
											<!--  项目类型 -->
		            						<td>
		                                        <a ng-click="chooseProject(gzprojectmonthly.editRow,r,'chooseProject');">
		                                            <label ng-bind="r.sxmlx"></label>
		                                        </a>
		                                   </td>
		                                </tr>
		                            </tbody>
		                        </table>
		                    </div>
		                </div>
		                <div class="zs-pagination-box">
		                    <ag-Page fn='gzprojectinfo'></ag-Page>
		                </div>
		                <div style="text-align: center;" >
			                <input type="button" class="zs-btn orange" value="选择 "
	                			ng-click="chooseProject(gzprojectmonthly.editRow,gzprojectinfo.sRows[0],'chooseProject');"/>
			            </div>
		            </div>
		        </div>
		    </div>
		</div>
    </div>
</div>